{% extends "base/theme_accueil.html" %}

{% block includeJS %}<script type="text/javascript" src="/media/js/functionsSearch.js"></script>
<script type="text/javascript">
	var photoTitles = new Array({% for photo in photos %}"{{photo.title}}",{% endfor %} "fake");
	var photoLat = new Array({% for photo in photos %}{{photo.latitude}},{% endfor %} "fake");
	var photoLong = new Array({% for photo in photos %}{{photo.longitude}},{% endfor %} "fake");
	var photoPhotographer = new Array({% for photo in photos %}"{{photo.album.photographer.pk}}",{% endfor %} "fake");
	var photoAlbum = new Array({% for photo in photos %}"{{photo.album.pk}}",{% endfor %} "fake");
		
</script>
{% endblock includeJS %}

{% block header %}
{% include "base/header.html"  with nomUtilisateur=userName%}
{% endblock header %}

{% block content %}
	{% include "base/carte.html" with size="big" %}
	<div id="content">
	{% include "base/recherche_form.html"%}
	
	</div>
	<div id="photos_search">
		{% include "displayPhoto/photos.html" %}
	</div>

{% endblock content %}

{% block footer %}
{% include "base/footer.html"%}
{% endblock footer %}